package Neden_Abstract_ve_Interface_siniflar_yeterli_degildir1;

public abstract class Printer {
	private String type;

	public Printer() {

	}

	public Printer(String type) {
		setType(type);
	}

	public void print() {
		System.out.println("Printed with" + getType());
	}

	public void fax() {
		System.out.println("");
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}
